 using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HelloWorld {
    public partial class Form1 : Form {
        private LinkLabel.Link myLink;
        public Form1() {
            InitializeComponent();
        }

        // comment via Google Code UI
        private void button1_Click(object sender, EventArgs e) {

            // set link target
            myLink = new LinkLabel.Link(0, this.linkLabel1.Text.Length, "http://code.google.com/p/my-hello-world-project/");
            this.linkLabel1.Links.Add(myLink);

            // and enable
            this.linkLabel1.Enabled = true;

        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {

            // get link URL
            string target = e.Link.LinkData as string;

            // start default browser with URL
            System.Diagnostics.Process.Start(target);
        }
    }
}
